﻿using System;
using Sunny.Util.Enums;

namespace Sunny.Util.Attributes
{
    public class LogInfoAttribute:Attribute
    {
        /// <summary>
        /// 模块名
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public BusinessType BusinessType { get; set; } = BusinessType.Other;

        /// <summary>
        /// 操作人类别
        /// </summary>
        public OperatorType OperatorType { get; set; } = OperatorType.Manage;
    }
}